package alex.game.updatable.plane
{
	import flash.utils.getDefinitionByName;

	public class PlaneFactory
	{
		public static var PLANE_SHOCKER:String = "alex.game.updatable.plane.PlaneShocker";
		
		public static function create(plane_name:String):BasicPlane
		{
			var PlaneClass:Class = getDefinitionByName(plane_name) as Class;
			var map:BasicPlane = new PlaneClass();
			return map;
		}
	}
}